package com.tekj.cxqcb.view.Module.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.tekj.cxqcb.R;
import com.tekj.cxqcb.operation.resultBean.AreaListBean;

import java.util.List;


/**
 * 城市选择
 */
public class Address2Adapter extends BaseQuickAdapter<AreaListBean.DataBean.ListBean, BaseViewHolder> {


    public Address2Adapter(@Nullable List<AreaListBean.DataBean.ListBean> data) {
        super(R.layout.item_business, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, AreaListBean.DataBean.ListBean item) {
        helper.setText(R.id.tv_item_name, item.getName());

    }

}
